//
//  ZSDSetPasswordView.h
//  ManageMoney
//
//  Created by xingzhi on 15/9/2.
//  Copyright (c) 2015年 xingzhi. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ZSDSetPasswordView;

@protocol ZSDSetPasswordViewDelegate <NSObject>

- (void)passwordView:(ZSDSetPasswordView*)passwordView inputPassword:(NSString*)password;

@end


@interface ZSDSetPasswordView : UIView

@property (nonatomic, weak) id<ZSDSetPasswordViewDelegate> delegate;

@property (nonatomic, strong) UITextField *passwordTextField;

/**
 *  键盘成为第一响应
 */
-(void)fieldBecomeFirstResponder;
/**
 *  键盘失去第一响应
 */
-(void)fieldResignFirstResponder;
/**
 *  清除密码
 */
-(void)clearUpPassword;

@end
